package domain;

/**
 * 卡实体类
 */
public class Card {
    private String cardId;
    private String userId;
    private double balance; // 余额
    private String status;

    @Override
    public String toString() {
        return "Card{" +
                "cardId='" + cardId + '\'' +
                ", userId='" + userId + '\'' +
                ", balance=" + balance +
                ", status='" + status + '\'' +
                '}';
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}